package com.example.zlw.dem21;

/**
 * @program: Zlw
 * @description:
 * @author: 诸葛龙辰
 * @create: 2022-11-09 20:28
 **/
public class Cyber implements Star{

    private  Anchor anchor;
    public Cyber(Anchor anchor){
        this.anchor = anchor;
    }
    @Override
    public void  sing(){
         show();
         anchor.sing();
         over();
    }
    @Override
    public void  rap(){
         show();
         anchor.rap();
         over();
    }
    public void show(){
        System.out.println("表演唱跳rap");
        System.out.println("坤哥背带裤中分头");
    }
    public void over(){
        System.out.println("结束");
        System.out.println("谢谢坤哥鸡你太美");
    }
}
